package com.online.teaching.module.oauth.service.impl;

import com.online.teaching.dao.UserMapper;
import com.online.teaching.module.oauth.service.UserService;
import com.online.teaching.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @ClassName : UserServiceImpl  //类名
 * @Description :   //描述
 * @Author : YG  //作者
 * @Date: 2020-11-22 12:27  //时间
 */
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;

    @Override
    public User loadUserByAccount(String account) {
        return userMapper.findUserByAccount(account);
    }
}
